home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 076-100 / scopedisk88 / m2du403 / du.tutor < prev    next >
Encoding:
Text File  |  1995-03-19  |  3.7 KB  |  113 lines

  1. # THIS FILE IS A Du.hist file and also a TUTORIAL. - Greg Browne 10/18/89
  2. #
  3. # Du.Hist files may have comments
  4. ; Comments start with either # or ; and have a <SPACE> as second character.
  5. #
  6. ;  STARTUP IS MUCH FASTER WITHOUT COMMENTS
  7. ;  ***************************************
  8. ;
  9. ; The space after the # or ; sign DESIGNATES COMMENTS.
  10. #
  11. # LINES not started with a # or ; sign are "R" gadget history items
  12. #
  13. # THE "R" history is now 20 items long.
  14. #
  15. ; ============================
  16. ; ANY file can be read as a Du.hist file.  Put the name of the file in the
  17. ; "R" gadget & click the RIGHT mousebutton on the "R" beside the gadget.
  18. ; The file will be read like Du.hist. Only as many "R" items as are in the
  19. ; new file will be replaced. Any beyond that will be unchanged.
  20. #
  21. # ALSO putting a complete command (including the # or ;) in the
  22. # "R" gadget and clicking RIGHT mousebutton on "R" will read that
  23. # command (easy change of Showname, Editor, Devices, etc).
  24. # ============================
  25. #
  26. # IF the character DIRECTLY after the # or ; is one of the following, the
  27. #  balance of the line will be considered a possible command line.
  28. #
  29. # COMMANDS ARE:  S E A O R 0..8 B (case insensitive)
  30. #
  31. #SSuperShow
  32. #   Set external show program name - ENTIRE BALANCE OF LINE IS USED
  33. #   if no name given or no #S included, Du's puny internal show is used
  34. #
  35. #e Emacs
  36. #   Editor program name - ENTIRE BALANCE OF LINE IS USED
  37. #   if no name given or no #E included, Du chooses "dme" as editor.
  38. #   Note that all leading spaces on command names are stripped off
  39. #
  40. #Edme
  41. #   However I like "dme" so I'll put it back in place for now.
  42. #   SEE, THE LATEST ITEM ALWAYS TAKES PRECEDENCE.
  43. #
  44. #Aram:
  45. #   Access on startup - ENTIRE BALANCE OF LINE IS USED
  46. #   This can be ANY valid path - just used ram: for less mess.
  47. #   if no name given or no #A included, Du chooses ram: from WB
  48. #   or the current directory from CLI. STARTUP ONLY!!
  49. #
  50. #ofile  VALID LINE - Changes Outname choice 3 from SER: to file
  51. #   This replaces the "SER:" output device on the PRT:/PAR:/SER: gadget.
  52. #   only 4 characters following "O" are used.
  53. #
  54. #Rrun
  55. #   ENTIRE BALANCE OF LINE IS USED.
  56. #   This replaces "run >nil: <nil:" for the DO gadgets last pass.
  57. #   NOTE THAT with 1.3 the default above REALLY discards as it is supposed
  58. #   to.  Somehow it still put output to CON: window before. If you want
  59. #   CON window output to be seen, use run <NIL: or run.
  60. #
  61. #
  62. #  DEVICE NAME Replacement [0..8]
  63. #   This will replace the device gadgets above the filewindow.
  64. #   Left to right  [df0 = 0  ram = 8]
  65. #   Again only 4 characters maximum are used.
  66. #   shorter devices MAY be used (such as c: or l:)
  67. #2  ff1: THIS LINE IS VALID (leading spaces ALWAYS removed first)
  68. #6rad:   SO IS THIS
  69. # 6ff0:  THIS IS NOT (space BEFORE the 6)
  70. #
  71. #
  72. # Miscellaneous command
  73. #B              (* Open window in bottom half if interlaced screen *)
  74. #
  75. #
  76. #
  77. # OTHER SECOND LETTERS are ignored
  78. # NOTE, HOWEVER, that the previous line COULD NOT leave the space out
  79. # or the interpreter will replace the "file" above with "THER".
  80. #
  81. # Now follow the real "R" gadget Items I use most.  They can be grouped
  82. # or interspersed with commands and comments and will be picked up properly.
  83. # The next line is blank on purpose - makes R-00 a blank item.
  84.  
  85. NewZap
  86. katz
  87. diskx x
  88. PPack
  89. ppmore
  90. mash
  91. mash -d
  92. SPref
  93. Pprefs
  94. execute
  95. ReadKwik 0 dh0:
  96. RiteKwik dh0: 0
  97.  
  98.  
  99. lharc v
  100. lharc a
  101. zoo -e
  102. QS
  103.  
  104.  
  105. # EVERYTHING past the 20th history item is IGNORED, so put your commands
  106. # earlier in the file. After it reads the 20th item (if there is one),
  107. # it closes the file and quits cold.
  108. #
  109. # Du.hist will be looked for FIRST in current directory and then in S:. The
  110. # first one found will be used. If neither found, the program will initialize
  111. # all histories as empty ("").  REMEMBER, a file in the current directory
  112. # will take presidence over s:
  113.